package com.park.web.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class OperateAspect {
	
	@Pointcut("execution(* com.park.web.controller.user.*.*(..))")
	private void pointCut(){}

	@Before("pointCut()")
	private void before(JoinPoint joinPoint){
		System.out.println("==="+joinPoint.getSignature().getName());
	}
}
